package com.hzmall.service;

import com.hzmall.common.ServerResponse;

import java.util.Map;

public interface IOrderService {
    ServerResponse create(Integer userId, Integer shippingId);
    ServerResponse getOrderCartProduct(Integer userId);
    ServerResponse list(Integer userId,Integer pageNum,Integer pageSize);
    ServerResponse detail(Integer userId, Long orderNo);
    ServerResponse cancel(Integer userId,Long orderNo);
    ServerResponse pay(Integer userId,Long orderNo);
    Object alipayCallBack(Map<String,String[]> requestParams);
    ServerResponse queryOrderPayStatus(Integer userId,Long orderNo);
    ServerResponse backendList(Integer pageSize,Integer pageNum);
    ServerResponse backendSearch(Long orderNo);
    ServerResponse sendGood(Long orderNo);
    void closeOrder(int hours);
}
